const fn = (a: number = 5, b: boolean = true, c: string = 'foo') => {};

class Foo {
  a: number = 5;
  b: boolean = true;
  c: string = 'foo';
}

class Foo {
  constructor(public a: boolean = true) {}
}